<template>
	<view class="">
		<web-view :src="src"></web-view>
		<!--  -->
		<ben></ben>
		<!--  -->
	</view>
	
</template>

<script>
	export default {
		data() {
			return {
				user_id: '',
				src: '',
			};
		},
		onLoad(options) {
			this.user_id = uni.getStorageSync('user_id');
			let src = decodeURIComponent(options.url)

			// 如果src没有http开头就拼接指定url
			this.src = src + '&shop_ids=' + this.user_id
		}
	}
</script>

<style scoped lang="scss">

</style>